package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;
import java.util.List;

/**
 * 用于存储盘点单信息的对象 hmz_inventory_check
 *
 * @author ruoyi
 * @date 2023-11-10
 */
@Data
public class HmzInventoryCheck extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 盘点单唯一标识符 */
    private Long id;

    /** 盘点单单号 */
    @Excel(name = "盘点单单号", width = 20, needMerge = true)
    private String inventoryCheckNumber;

    /** 盘点总数量 */
    @Excel(name = "盘点总数量",width = 20, needMerge = true)
    private Long totalQuantity;

    /** 已盘点数量 */
    @Excel(name = "已盘点数量",width = 20, needMerge = true)
    private Long checkedQuantity;

    /** 未盘点数量 */
    @Excel(name = "未盘点数量",width = 20, needMerge = true)
    private Long uncheckedQuantity;
    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "单据创建时间",width = 20, needMerge = true,dateFormat="yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;
    @Excel(name = "明细")
   private List<HmzInventoryCheckDetail> infoList;
   private List<HmzProduct> infoListS;
   private  List<Integer> ids;
}
